﻿@model IEnumerable<NuGetServer.Models.NuGetPackage>
@{
    ViewBag.Title = "凡客联盟开发组NuGet服务";
}
<h2>
    Package</h2>
@foreach (var item in Model)
{
    <div class="package rounded">
        <div class="package-icon">
            <img src="/Content/Images/package.png" alt="@item.Title" /></div>
        <div class="title">
            <a href="/Packages/@item.FileName" target="_blank" title="@item.Title">@item.Title</a></div>
        <div class="package-delete">
            @Html.ActionLink("Delete", "Delete", new { id = item.FileName }, new { onclick = "return confirm('确认删除？')" })
        </div>
        <ul>
            <li>
                <label>
                    Author</label>@item.Author</li>
            <li>
                <label>
                    Version</label>@item.Version</li>
            <li>
                <label>
                    Update</label>@item.UpdateDate</li>
            <li>
                <label>
                    Published</label>@item.PublishedDate</li>
            <li>
                <label>
                    Description</label><em>@item.Description</em> </li>
        </ul>
    </div>
}
